projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca29a33
)
(Fsplit_window): For default size, round up for left window.
author
Karl Heuer
<kwzh@gnu.org>
Fri, 23 Jul 1999 08:37:26 +0000
(08:37 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Fri, 23 Jul 1999 08:37:26 +0000
(08:37 +0000)
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index 5342f8b48692852455b10938907ba63b78d7078c..db7d06056e340a9b83cdfdb03e9ac00c0b7d98d1 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-2613,8
+2613,10
@@
SIZE includes that window's scroll bar, or the divider column to its right.")
{
if (!NILP (horflag))
/* Calculate the size of the left-hand window, by dividing
- the usable space in columns by two. */
- size_int = XFASTINT (o->width) >> 1;
+ the usable space in columns by two.
+ We round up, since the left-hand window may include
+ a dividing line, while the right-hand may not. */
+ size_int = (XFASTINT (o->width) + 1) >> 1;
else
size_int = XFASTINT (o->height) >> 1;
}